#ifndef TORRENTPEEROBSERVER_H
#define TORRENTPEEROBSERVER_H

class TorrentConnection;
class QByteArray;

class TorrentPeerObserver
{
public:
  virtual void unchokeReceived(TorrentConnection& peer) = 0;
  virtual void chokeReceived(TorrentConnection& peer) = 0;
  virtual void pieceReceived(TorrentConnection& peer, const QByteArray& piece) = 0;
};

#endif
